package io.renren.modules.generator.service;

import com.baomidou.mybatisplus.service.IService;
import io.renren.modules.generator.entity.OrderDetailEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-12-12 09:53:09
 */
public interface OrderDetailService extends IService<OrderDetailEntity> {

    List<OrderDetailEntity> queryPage(Map<String, Object> params);

    int queryPageTotal(Map<String, Object> params);

    List<OrderDetailEntity> queryDetailByOrderId(Integer orderId);

    void deleteByOrderId(Integer orderId);
}

